//
//  ChangePhoneViewController.m
//  XRSquare
//
//  Created by 穆相臣 on 2018/9/2.
//  Copyright © 2018年 UaenaMo. All rights reserved.
//

#import "ChangePhoneViewController.h"

@interface ChangePhoneViewController ()

@end

@implementation ChangePhoneViewController

-(void)backAction
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBarHidden = NO;
    self.navigationController.navigationBar.tintColor = [UIColor grayColor];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"back"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate] style:UIBarButtonItemStylePlain target:self action:@selector(backAction)];
    self.navigationItem.title = @"更换手机";
    
    CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
    CGRect rectNav = self.navigationController.navigationBar.frame;
    
  
    UILabel * label1 = [[UILabel alloc]initWithFrame:CGRectMake(0, rectStatus.size.height + rectNav.size.height + 50, ScreenWidth, 20)];
    label1.font = [UIFont systemFontOfSize:15];
    label1.textAlignment = NSTextAlignmentCenter;
    label1.text = @"换绑手机请访问官网个人中心";
    [self.view addSubview:label1];
    
    {
        UILabel * label1 = [[UILabel alloc]initWithFrame:CGRectMake(0, rectStatus.size.height + rectNav.size.height + 90, ScreenWidth, 20)];
        label1.font = [UIFont systemFontOfSize:12];
        label1.textAlignment = NSTextAlignmentCenter;
        label1.text = @"https://www.xrsquare.com/changebindmobile";
        [self.view addSubview:label1];
    }
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
